#!/bin/bash

qemu-system-aarch64 \
-M virt \
-enable-kvm \
-cpu host \
-smp 2 \
-m 1024 \
-kernel linux-5.2-arm64 \
-nographic \
-append "rootfstype=ext4 root=/dev/vda2 console=ttyAMA0 rw net.ifnames=0" \
-drive file=debian.qcow2,if=none,id=disk0  \
-device virtio-blk-device,drive=disk0 \
-netdev user,id=net0,hostfwd=tcp::5555-:22 \
-device e1000e,netdev=net0
